home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr52
/
tw150d.zip
/
TSWINQRF.DOC
< prev
next >
Wrap
Text File
|
1993-04-01
|
40KB
|
653 lines
Page 1 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twABBarDisp() ............................................. Display Bars
twABBrowse( wT, wL, wB, wR, aInRa, cTitle, aColHead,;
aFooters, lEditFlag, aActionKeys, wColor,;
wSType, wFType, wFColor, lScBar, lAlite,;
nFreeze, lStabilize, bPreRun, bPostRun, ; Moused
nExitKey, lBarOn, lWindow ) ................... Array Browse
twABGetBrowse() ........................................... Browse Object
twABHotSpot( nRowTop, nColLeft, nRowBot, nColRight, ;
bAction, nButton, nPause, lRelease ) ......... Mouse Spot
twABLinePop( aHandles ) ................................... Pop Mouse Line
twABLineOff( aHandles ) ................................... Disable Mouse Line
twABLineOn( aHandles ) .................................... Enable Mouse Line
twABMouseLine( aArray, nSpace, nButton, nRow ) ............ Hot Spot Line
twABRemHotSpot( nSpotNo ) ................................. Remove Spot
twABSpotOff( nSpotNo ) .................................... Disable Spot
twABSpotOn( nSpotNo ) ..................................... Enable Spot
twACChoice( nTop, nLeft, nBottom, nRight, aChoices,;
aLogicals, cUser, nStartItem, nWinRow,;
lScBar, nTag, cACColor, cBarColor,;
bPreRun, bPostRun ) .......................... Moused ACHOICE
twACHotSpot( nTopRow, nLeftCol, nBotRow, nRightCol,;
bAction, nButton, nPause, lRelease ) ......... Mouse Spot
twACLinePop( aHandles ) ................................... Pop Mouse Line
twACLineOff( aHandles ) ................................... Disable Mouse Line
twACLineOn( aHandles ) .................................... Enable Mouse Line
twACMouseLine( aArray, nSpace, nButton, nRow ) ............ Hot Spot Line
twACRemHotSpot( nSpotNo ) ................................. Remove Spot
twACSpotOff( nSpotNo ) .................................... Disable Spot
twACSpotOn( nSpotNo ) ..................................... Enable Spot
twActivate( wHndl ) ....................................... Activate Window
twAddGlobal( xInGlobal ) .................................. Add Global
twAlertInit( Type, mColor) ................................ Alert Initialize
twAMClose() ............................................... Close Area Class
twAMPop() ................................................. Pop Area Message
twAMsgEnd() ............................................... End Area Message
twAMsgInit( Type, mColor, aArea) .......................... Initialize
twArBrowse( wT, wL, wB, wR, aInRa , cTitle, aColHead,;
Footers, lEditFlag, aActionKeys, wColor, ;
sType, fType, wfColor, lAlite, nFreeze )....... Array Browse
twArComp( aArray, bComp, nStart, nStop ) .................. Array Compare
twArPick( aArray, cHeader, nTop, nLeft, wColor, wSType,;
wFType, wFColor, nRestrict, lTag, lSound ) ...... Array PickList
twArrayAsList( aArray, cDelimiter ) ....................... Array to List
twASay( _wArray, nRow, nCol, cAttr, nRowSkip, nHndl ) ..... Display Array
twAttrib( wBorder, wColor, wT, wL, wB, wR ) ............... Change Attribute
twBackUp( cPath, cSourceSpec, cDest, lMsgs, wColor, ;
wSType, wFType, wFcolor, cBColor, cBFcolor ) .... Backup Files
twBox( wT, wL, wB, wR, wFType, wColor, wFill ) ............ Display Box
twBRBarDisp() ............................................. Display Bars
twBRBrowse( wT, wL, wB, wR, aColumns, cTitle,;
cTopKey, bScopeBlock, lEditFlag,;
aActionKeys, wColor, wSType, wFType,;
wFColor, lScBar, lMsgs, lAlite, nFreeze,;
lStabilize, bPreRun, bPostRun, nExitKey,;
aSeparators, lOKAppend, lSound, lWindow,; Moused
bBarColor ) .................................. DBF Browse
Page 2 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twBRGetBrowse() ........................................... Browse Object
twBRHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nPause, lRelease ) ......... Mouse Spot
twBRLinePop( aHandles ) ................................... Pop Mouse Line
twBRLineOff( aHandles ) ................................... Disable Mouse Line
twBRLineOn( aHandles ) .................................... Enable Mouse Line
twBRMouseLine( aArray, nSpace, nButton, nRow ) ............ Hot Spot Line
twBRNewSearch( aNewSrch, lReset ) ......................... New Search Array
twBRRemHotSpot( nSpotNo ) ................................. Remove Spot
twBRSpotOff( nSpotNo ) .................................... Disable Spot
twBRSpotOn( nSpotNo ) ..................................... Enable Spot
twButtonBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, sType, fType,;
ExitKey, ActionKeys ) ........................ PushButton Box
twCalcInit( nT, nL, cColor, cStype, cFtype, lOKPaste ) .... Initialize
twCalculator( nT, nL, cColor, cStype, cFtype, lOKPaste ) .. Calculator
twCalendar( dDate, nT, nL, cColor, cStype, ;
cFtype, cFColor, lOKPaste ) ................... Calendar
twCallCalc( cProc, nLine, cVar ) .......................... Call Calculator
twCallDate( cProc, nLine, cVar ) .......................... Call Calendar
twCenter( nRow, cString, cAttr ) .......................... Center String
twCentre( nRow, cString, cAttr ) .......................... Center String
twCheckBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, sType, fType,;
ExitKey, ActionKeys ) ......................... Multiple Choice
twClear( wBorder, wFill, wT, wL, wB, wR) .................. Clear Region
twClearLine( nRow, wBorder, cAttr ) ....................... Clear Line
twClockOff() .............................................. Turn of Clock
twClockOn( wT, wL, wColor, lAbsolute ) .................... Turn on Clock
twClose( wHndl ) .......................................... Close Window
twCol( nCol ) ............................................. Window Column
twCreateButton( wT, wL, cButton, lPad, wColor, wSType ) ... Shadowed Button
twDate( wT, wL, wColor, lAbsolute ) ....................... Display Date
twDateInit( nT, nL, cColor, cStype, cFtype,;
cFColor, lOKPaste ) ........................... Initialize
twDbPick( cAlias, cField, cColHead, nTop, nLeft, wColor,;
wSType, wFType, wFColor, bReturn, lSound ) ...... DBF PickList
twDBrowse( wT, wL, wB, wR, aColumns, cTitle, Footers,;
bTopBlock, bBotBlock, bScopeBlock, lEditFlag,;
aActionKeys, wColor, wSType, wFType, wfColor,;
lScBar, lMsgs, lAlite, nFreeze, lStabilize ) ... DBF Browse
twDec2Sci( nDecimal, nPrecision ) ......................... Scient. Notation
twDelGlobal( nHndl ) ...................................... Remove Global
twDirectory( cSpec, cAttributes ) ......................... DIRECTORY()
twDisplay( wHndl ) ........................................ Redisplay Window
twEnhClr( InColor ) ....................................... Clipper Enhanced
twExplode( lOKExplode ) ................................... Explode on/off
twFileName( cFile ) ....................................... File name string
twFrame( wFType, wfColor, wHndl, lTitles ) ................ Display Frame
twFilePop( nHndl ) ........................................ Pop File Info
twFileStack() ............................................. Push File Info
twGaugeDisplay( aHandle ) ................................. Display Gauge Bar
twGaugeNew( wT, wL, wB, wR, cBackClr, cBarClr,;
cBarCharacter, wFType ) ....................... New Gauge Bar
twGaugeUpdate( aHandle, nPercent ) ........................ Update Gauge Bar
Page 3 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twGet( nRow, nCol, _wGetBlk, _wGetName, GetList,;
_wGpicture, _wGcolor, wWhenBlk, wValidBlk ) ........ Windowed Get
twGetABrowse() ............................................ twArBrowse Ref.
twGetCurElem() ............................................ twArBrowse Ref.
twGetDBrowse() ............................................ twDBrowse Ref.
twGetGlobal( nHndl ) ...................................... Global Value
twGetStruct( sT, sL, sB, sR, wT, wL, wB, wR, tShadow,;
tScr, uScr, tlength, twidth, tThick,;
sh13, sh17, sh79, sh39 ) ..................... Window Structure
twHLine( nRow, nCol, Length, lType, wColor ) .............. Horizontal Line
twKeyStack( aKeys ) ....................................... Push SETKEYs
twKeyPop( nHndl ) ......................................... Pop SETKEYs
twIndexMaker( aNtxArray, wT, wL, wB, wR, wColor,;
wsType, wfType, cHeader, agColor,;
lMsgs, nBarFrame, bPreRun ) ................. Index Files
twInfo( InMsg, Header, Wait, wT, wL, sType, fType ) ....... Windowed Message
twInfoLine( Wait, InMsg, cJustify, nLine ) ................ Line Message
twInit( Thickness ) ....................................... Init. Windows
twInitGlobal( aInGlobal ) ................................. Init. Globals
twInkeyWait( nSecs ) ...................................... Wait w/SETKEY
twInquire( InMsg, Header, Var2Read, wT, wL, sType,;
fType, cPicture ) .............................. Windowed Get
twIsDrive( nDrive, wSType, wFType ) ....................... Drive Status
twLdate( dDate ) .......................................... Long Date Expr.
twLeft( nRow, cString, cAttr ) ............................ Left Justify
twLineShad( bRows, bCols, Buttons, tShadow ) .............. Thin Shadow
twLineMenu( nRow, nStartCol, nEndCol, aItems, nChoice,;
wColor, nExitKey, lFreeze, lSound, bPrerun,;
bPostrun, lWindow, SType, wFType, wFColor ) ... Bar Menu
twListAsArray( cList, cDelimiter ) ........................ List to Array
twMakeShadowArea( sT, sL, sB, sR, sType ) ................. Display Shadow
twMemoEdit( wT, wL, wB, wR, cMemo, cTitle, cFooters,;
mUdf, ActionKeys, wColor, sType, fType,;
fColor, lMsgs, lWrap, lEditMode, nLineLength,;
nTabSize, nTBufRow, nTBufColumn,;
nWinRow, nWinColumn ) ......................... Windowed MemoEdit
twMemoView( wT, wL, wB, wR, cMemo, cTitle, cFooters,;
wColor, sType, fType, fColor ) ................ View MemoString
twMenuTo( bVarblock, cVarName, aMenu ) .................... Replace MENU TO
twMenuGetElem() ........................................... Current Element
twMenuInit( nMsgType, nRow, nCol, cColor ) ................ Initialize Menus
twMenuSetClr( cColor ) .................................... Set Menu Colours
twMInkeyWait( nSecs, lKeyExit, lMouseExit ) ............... Mouse Inkey
twMIHotSpot( nRowTop, nColLeft, nRowBot, nColRight, ;
bAction, nMouseKey, nPause, lRelease ) ....... Inkey Hot Spot
twMILinePop( aHandles ) ................................... Pop Mouse Line
twMILineOff( aHandles ) ................................... Disable Mouse Line
twMILineOn( aHandles ) .................................... Enable Mouse Line
twMIMouseLine( aArray, nSpace, nButton, nRow ) ............ Hot Spot Line
twMIRemHotSpot( nSpotNo ) ................................. Remove Spot
twMISpotOff( nSpotNo ) .................................... Spot Off
twMISpotOn( nSpotNo ) ..................................... Spot On
twMove( Vert, Horz ) ...................................... Move Window
twMPause( nSeconds, nStart ) .............................. Wait
twMPop() .................................................. Pop Message
Page 4 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twMsgEnd() ................................................ End Messages
twMsgInit( Type, mColor) .................................. Init. Messages
twNoOccurs( cSearch, cSource, lCase ) ..................... # of Occurences
twNthOccur( cSource, cTarget, nWhich, lCase ) ............. Nth Occurrence
twNum2Str( nValue, nMantLen, nDecLen ) .................... Number to String
twOpen( wT, wL, wB, wR, wColor, wShadow, wFType,;
wFill, wFcolor, wTitle ) .......................... Open a Window
twPause( nTime ) .......................................... Time Out
twPop() ................................................... Pop a Window
twPopAreas( nHndl ) ....................................... Pop Work Areas
twPopChoice( aChoices, cHeader, wT, wL, nChoice,;
wColor, wsType, wfType, wFColor,;
cJustify, cUser, nStartRow, lSbar,;
bPreRun, bPostRun ) .......................... Windowed ACHOICE
twPopMenu( amArray, cHeader, aMsg, wT, wL, nChoice,;
wColor, wSType, wFType, wFColor,;
wTColor, nRowSkip ) ............................ Windowed Menu
twPrompt( nRow, nCol, _wPrompt, _wMessage ) .............. CLIPPER PROMPT*
twPutTitles( aTitle ) ..................................... Display Titles
twQDBrowse( wT, wL, wB, wR, aColumns, cTitle,;
wColor, wSType, wFType, wfColor,;
nFreeze, aSrch, lAlite ) ...................... Quick DBF Browser
twRABarDisp() ............................................. Display Bars
twRABrowse( wT, wL, wB, wR, aArray, aColumns, cTitle,;
lEditFlag, aActionKeys, wColor,;
wSType, wFType, wFColor, lScBar, lAlite,;
nFreeze, lStabilize, bPreRun, bPostRun,;
nExitKey, lBarOn, aSeparators,; Moused
aAppend, lSound, lWindow ) .................... Array Browse
twRAGetArray() ............................................ Array Reference
twRAGetBrowse() ........................................... Browse Object
twRAGetCurrent() .......................................... Current Element
twRAGetElement( n ) ....................................... Current Value
twRAHotSpot( nRowTop, nColLeft, nRowBot, nColRight,;
bAction, nButton, nPause, lRelease ) ......... Mouse Spot
twRALinePop( aHandles ) ................................... Pop Mouse Line
twRALineOff( aHandles ) ................................... Disable Mouse Line
twRALineOn( aHandles ) .................................... Enable Mouse Line
twRAMouseLine( aArray, nSpace, nButton, nRow ) ............ Hot Spot Line
twRARemHotSpot( nSpotNo ) ................................. Remove Spot
twRASetArray( aInArray ) .................................. Replace Array
twRASpotOff( nSpotNo ) .................................... Disable Spot
twRASpotOn( nSpotNo ) ..................................... Enable Spot
twRadioBox( bType, Msg, Title, NoButtons, Buttons,;
sButton, wT, wL, wB, wR, sType, fType,;
ExitKey, ActionKeys ) ......................... Single Choice
twReadModal( aGetList, lMouseExit ) ....................... Moused Read
twREHotSpot( nRowTop, nColLeft, nRowBot, nColRight,
bAction, nButton, nPause, lRelease ) ......... Mouse Spot
twRELinePop( aHandles ) ................................... Pop Mouse Line
twRELineOff( aHandles ) ................................... Disable Mouse Line
twRELineOn( aHandles ) .................................... Enable Mouse Line
twREMouseLine( aArray, nSpace, nButton, nRow ) ............ Hot Spot Line
twRERemHotSpot( nSpotNo ) ................................. Remove Spot
twRESpotOff( nSpotNo ) .................................... Disable Spot
Page 5 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twRESpotOn( nSpotNo ) ..................................... Enable Spot
twReplicate( nRow, nCol, Char, Number, wColor ) ........... REPLICATE()
twRestore() ............................................... Not Available
twRestoreShadowArea( tShadow ) ............................ Restore Shadow
twRestScrEnv() ............................................ Restore Cursor
twRevClr( InColor ) ....................................... Reverse Colour
twRight( nRow, cString, cAttr ) ........................... Right Justify
twRow( nRow ) ............................................. Window Row
twSattr( attribute ) ...................................... Number to Colour
twSave() .................................................. Save Window
twSaveAreas( aAreas ) ..................................... Save Work Areas
twSaveScrEnv() ............................................ Save Cursor Info
twSay( nRow, nCol, cString, cAttr, _wPicture ) ............ Display String
twSay2( nRow, nCol, cString, cAttr, _wPicture ) ........... Display 2 Colour
twSayGet( nRow, nCol, cString, _wSpicture, _wScolor,;
_wGetBlk, _wGetName, GetList, _wGpicture,;
_wGcolor, wWhenBlk, wValidBlk ) ................. @...SAY...GET
twScBarMove( aScrollBar, sTop, sLeft, sBottom, sRight ) ... Move ScrollBar
twScBarNew( nTopRow, nTopColumn, nEndRowCol, cColorString,;
nInitPosition, nDirection ) ................... New Scrollbar
twScBarShow( aScrollBar ) ................................. Display ScrollBar
twScBarUpdate( aScrollBar, nCurrent, nTotal,;
lForceUpdate ) ............................. Update ScrollBar
twSci2Dec( cScientific ) .................................. Scient. Notation
twScroll( Lines, wBorder, wT, wL, wB, wR, wColor ) ........ Scroll Region
twSetGlobal( nHndl , xInGlobal ) .......................... Set Global
twSetStruct( wT, wL, wB, wR, sT, sL, sB, sR, uScr ) ....... Window Structure
twShadow( wT, wL, wB, wR, wSType ) ........................ Shadow a Region
twShowShadowArea( sT, sL, sB, sR, tShadow,;
vShadow, hShadow ) ...................... Display a Shadow
twSize( Direction, sNumber, SaveORide ) ................... Size a Window
twSlide( Direction, sNumber, lShadow ) .................... Slide a Window
twSpaceText( Texts, wL, wR ) .............................. Space Strings
twSplitClr( InColor ) ..................................... Get Colour Array
twSplitTxt( InString, LineLen, MaxLines ) ................. MEMOLINE String
twSSaveAsc() .............................................. Save to ASCII
twSSaveMem() .............................................. Save to .MEM
twStdClr( InColor ) ....................................... Standard Colour
twStopWatch( nStart, nStop ) .............................. Stop Watch
twStoreShadowArea( sT, sL, sB, sR, tShadow,;
vShadow, hShadow ) ..................... Store Info under
twStr2Num( cValue ) ....................................... String to Number
twStr2Scr( _string, wAttribute ) .......................... String to Screen
twSumArray( aArray, nStart, nEnd ) ........................ Sum an Array
twTextFile( wT, wL, wB, wR, fName, wColor, wShadow,;
wFType, wFcolor, wTitle ) ..................... View a Text File
twTextMsg(InMsg, Header, Wait, wT, wL, wB, wR,;
wColor, sType, fType ) .......................... Memo Display
twTitle( cString, wColor, _Row, _Justify, _Delim ) ........ Title a Window
twType( nRow, nCol, cString, cAttr, Sound ) ............... Type a String
twUnsClr( InColor ) ....................................... Unselected Colour
twVattr( WColor ) ......................................... Colour to Number
twVersion() ............................................... TSDWIN Version
twVLine( nRow, nCol, Length, lType, wColor ) .............. Vertical Line
twWarn( InMsg, Header, Wait, wT, wL, sType, fType ) ....... Windowed Message
Page 6 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
twWarnLine( Wait, InMsg, cJustify, nLine ) ................ Line Message
twWSaveAsc() .............................................. Save to ASCII
twWSaveMem() .............................................. Save to .MEM
*** CLIPPER Mouse Functions ***
twAddMSpot( aMouseSpot, nNxtHandl, aDef, nHandle ) ........ Add HotSpot
twAMButtonPress( nButton, aRegions, aColor ) .............. Press in Region
twAMClickShow( nButton, aRegions ) ........................ ** Display Click
twAMFound() ............................................... Mouse in Region?
twDelMSpot( nSpotNo, aHotSpot, nNxtHandl ) ................ Remove Hot Spot
twM2Click( nClick, nButton, nWait, nRow,;
nCol, nStart ) ................................. Double Click
twMAddSpot( aStruct, nHndl ) .............................. ** Add Spot
twMakeRegions( aRegions ) ................................. ** Initialize
twMBPress( nButton, nButPrs, nX, nY ) ..................... But. Press Info
twMBRelease( nButton, nRelease, nX, nY ) .................. But. Release Info
twMButtonDown( nButton ) .................................. Which Button?
twMClickShow( nButton, nTop, nLeft, nBottom, nRight ) ..... ** Display Click
twMClose( mHndl ) ......................................... ** Close Regions
twMConfine( nTop, nLeft, nBottom, nRight, lAbs ) .......... Confine Mouse
twMCrsOff() ............................................... Mouse Cursor Off
twMCrsOn() ................................................ Mouse Cursor On
twMCursor( lState ) ....................................... Toggle Mouse
twMDefCrs( nCurType, nScrMask, nCurMask ) ................. Shape/Colour
twMDelSpot( nHndl, nSpotNo ) .............................. ** Remove Region
twMFound( nTop, nLeft, nBottom, nRight ) .................. Mouse in Region
twMFree() ................................................. Free Up Confines
twMGetLimits( nTop, nLeft, nBottom, nRight ) .............. Confine Settings
twMGetPress( nX, nY ) ..................................... Where was Press?
twMGetRC( nRow, nCol ) .................................... Mouse Row/Column
twMGetRegions() ........................................... ** Get Array
twMGetXPress( nMouseX ) ................................... Get X Press
twMGetYorn( cMessage ) .................................... ** Display YES/NO
twMGetYPress( nMouseY ) ................................... Get Y Press
twMIgnore( lIgnore ) ...................................... Ignore the Mouse
twMGetMickeys( nX, nY ) ................................... Get Mickey Rate
twMOpen() ................................................. Open Region Array
twMouseInit( nShape, cColor ) ............................. Initialize Mouse
twMRegPress( nTR, nLC, nBR, nRC ) ......................... Press in Region
twMReset() ................................................ Reset the Mouse
twMResetRegions() ......................................... ** ReInit. Region
twMSetRC( nX, nY ) ........................................ Set Mouse Row/Col
twMSetRegions( aRegions ) ................................. ** Save Array
twMXConfine( nXMin, nXMax ) ............................... Horiz. Confine
twMYConfine( nYMin, nYMax ) ............................... Vertical Confine
twOKMouse() ............................................... Mouse Installed?
twSet2Click( nDblTime ) ................................... Set Double Click
twSetMPause( nPauseDef ) .................................. Set Default Pause
twSetMRTime( lReleaseDef ) ................................ Default Release
Page 7 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
*** TSDWIN Window Instance Variables ***
Window
_twBottom() ............................................... Bottom
_twColor() ................................................ Colour
_twCurrent() .............................................. Screen
_twFcolor() ............................................... Frame Colour
_twFrame() ................................................ Frame Type
_twHandle( wHndl ) ........................................ Handle
_twHidden() ............................................... Hidden Screen
_twLeft() ................................................. Left
_twRight() ................................................ Right
_twsBottom() .............................................. Hidden Bottom
_twShadow() ............................................... Shadow Type
_twShTh() ................................................. Thickness
_twsLeft() ................................................ Hidden Left
_twsRight() ............................................... Hidden Right
_twStack() ................................................ Stack Array
_twStructure( wHndl ) ..................................... Structure Reference
_twsTop() ................................................. Hidden Top
_twTitle() ................................................ Title Array
_twTop() .................................................. Top
*** Callable 'C' Functions ***
tw_ASay( wT, wL, aray, attr1, attr2 ) ..................... Display Array
tw_GetKSt( nKey ) ......................................... Get Key Status
tw_MdDial( cNumber ) ..................................... Dial the Modem
tw_MdInit( nBaud ) ....................................... Initialize Modem
tw_MdPort( nPort ) ........................................ Init. COM Port
tw_MdSt() ................................................ Modem Status
tw_MdStr( cString ) ...................................... Send Modem String
tw_NtxPos( nOrder, nRecno ) ............................... Find index offset
tw_NtxRec( nOrder, nPosition ) ............................ Find index record
tw_Say( wT, wL, strg, pattr ) ............................. Display String
tw_Say2( wT, wL, strg, attr1, attr2 ) ..................... Display 2 Colours
tw_Scr2Str( cScreen ) .................................... Screen to String
tw_ScrApp( scrpos, scr1, scr2, leng, wid ) ................ Line Append
tw_ScrDel( scrpos, scr1, leng, wid ) ...................... Line Delete
tw_ScrXtr( scr, tp,lt, bm, rt, tN, lN, leng, wid ) ........ Region Extract
tw_SetKSt( nKey, nStatus ) ............................... Set Key Status
tw_TFile( fHndl, tp, lt, bt, rt, j, norm ) ................ Display Text File
tw_VAttr( wT, wL, wB, wR, pattr ) ......................... Display Colour
*** Callable Assembler Functions ***
_twAttrChg( expC, [expN] ) ................................ Change Colour
_twClock( mode, row, col, attr ) .......................... Display a Clock
_twExplode( nA, nB, nC, nD, nE, cF, nG, nH, nI,;
nJ, nK, nL, nM, nN ) .......................... Explode a Region
_twIsDrive( n ) ........................................... Drive Status
_twKBoard( n ) ............................................ Stuff Keyboard
Page 8 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
*** Assembler Mouse Functions ***
_twM0A() .................. Reset Mouse
_twM1() ................... Show Mouse Cursor
_twM2() ................... Hide Mouse Cursor
_twM3B() .................. Get Which Button Pressed
_twM3C() .................. Get X coordinate of Mouse
_twM3D() .................. Get Y coordinate of Mouse
_twM4( nC, nD ) ........... Set Mouse Position
_twM5A( nB ) .............. Status of Button Pressed (0 = up, 1 = down)
_twM5B( nB ) .............. No. of Presses of Button
_twM5C( nB ) .............. Get X coordinate of Last Button Pressed
_twM5D( nB ) .............. Get Y coordinate of Last Button Pressed
_twM6A( nB ) .............. Button Status Releases
_twM6B( nB ) .............. Number of Releases
_twM6C( nB ) .............. Get X coordinate of Last Button Released
_twM6D( nB ) .............. Get Y coordinate of Last Button Released
_twM7( nC, nD ) ........... Set Mouse Max and Min Horizontal Position
_twM8( nC, nD ) ........... Set Mouse Max and Min Vertical Position
_twM10( nB, nC, nD ) ...... Set Mouse Cursor Type
_twM16( nA, nB, nC, nD ) .. Conditional Cursor Off
_twM11C() ................. Get Horizontal Direction of Mouse
_twM11D() ................. Get Vertical Direction of Mouse
_twM26( nB, nC, nD ) ...... Set Mouse Sensitivity and Double Speed Threshold
_twM27B() ................. Get Horizontal Mouse Sensitivity
_twM27C() ................. Get Vertical Mouse Sensitivity
_twM27D() ................. Get Double Speed Threshold
_twM33() .................. Software Reset
_twM42A() ................. Get Internal Cursor Flag.
_twM49A() ................. Get Minimum X Coordinate Limit
_twM49B() ................. Get Minimum Y Coordinate Limit
_twM49C() ................. Get Maximum X Coordinate Limit
_twM49D() ................. Get Maximum Y Coordinate Limit
*** General Commands ***
MACOMP( cExpr )
ASSERT( expl, func )
STRINT( x )
REPEAT ... UNTIL
DEFAULT <p> TO <val> [,<pn> TO <valn>]
*** Window Oriented Commands ***
EXPLODEON
EXPLODEOFF
WINDOW
WINDOW TO <whandle>
WINDOW AT [<top>], [<left>], [<bottom>], [<right>] ;
WINDOW TO <whandle> AT [<top>], [<left>], [<bottom>], [<right>] ;
[COLOR <mcolor>] [SHADOW <mshadow>] [FRAME <mframe>] ;
[FILL <mfill>] [FCOLOR <mfcolor>] [TITLE <mtitle>]
WINHEADER title
WINFOOTER title
Page 9 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
WINBORDER [FRAME <frame>] [COLOR <color>]
@ <row>, <col> WSAY <cexpr> [COLOR <color>] [PICTURE <picture>]
INFORM <message> [HEADER <header>] [WAIT <wait>] ;
[TOP <top>] [LEFT <left>] ;
[SHADOW <mshadow>] [FRAME <mframe>]
INQUIRE <message> TO <getvar> [HEADER <header>] ;
[TOP <top>] [LEFT <left>] ;
[SHADOW <mshadow>] [FRAME <mframe>]
WARNING <message> [HEADER <header>] [WAIT <wait>] ;
[TOP <top>] [LEFT <left>] ;
[SHADOW <mshadow>] [FRAME <mframe>]
MSGTEXT <message> [HEADER <header>] [WAIT <wait>] ;
[<top>], [<left>], [<bottom>], [<right>] ;
[COLOR <color>] [SHADOW <mshadow>] [FRAME <mframe>]
BUTTONBOX [<orient:H,V>] TO <mvar> [MESSAGE <message>] ;
[TITLE <title>] [WITH <nobuttons> BUTTONS] ;
[CHOICES <choices>] [START <start>] ;
AT [<top>], [<left>], [<bottom>], [<right>] ;
[SHADOW <shadow>] [FRAME <frame>] [EXITKEY <exitkey>] ;
[ACTIONKEYS <actionkeys>]
CHECKBOX [<orient:H,V>] TO <mvar> [MESSAGE <message>] ;
[TITLE <title>] [WITH <nobuttons> BUTTONS] ;
[CHOICES <choices>] [START <start>] ;
AT [<top>], [<left>], [<bottom>], [<right>] ;
[SHADOW <shadow>] [FRAME <frame>] [EXITKEY <exitkey>]
[ACTIONKEYS <actionkeys>]
RADIOBOX [<orient:H,V>] TO <mvar> [MESSAGE <message>] ;
[TITLE <title>] [WITH <nobuttons> BUTTONS] ;
[CHOICES <choices>] [START <start>] ;
AT [<top>], [<left>], [<bottom>], [<right>] ;
[SHADOW <shadow>] [FRAME <frame>] [EXITKEY <exitkey>] ;
[ACTIONKEYS <actionkeys>]
BROWSEARRAY <array> AT [<top>], [<left>], [<bottom>], [<right>] ;
[TITLE <title>] [HEADERS <headers>] [FOOTERS <footers>] ;
[EDIT <edit>] [ACTIONKEYS <actionkeys>] [COLOR <color>] ;
[SHADOW <shadow>] [FRAME <frame>] [FRAMECOLOR <framecolor>] ;
[AUTOLITE <autolite>] [FREEZE <freeze>]
BROWSEARRAY <array> TO <mvar> AT [<top>], [<left>], ;
[<bottom>], [<right>] ;
[TITLE <title>] [HEADERS <headers>] [FOOTERS <footers>] ;
[EDIT <edit>] [ACTIONKEYS <actionkeys>] [COLOR <color>] ;
[SHADOW <shadow>] [FRAME <frame>] [FRAMECOLOR <framecolor>] ;
[AUTOLITE <autolite>] [FREEZE <freeze>]
Page 10 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
BROWSEDBF AT [<top>], [<left>], [<bottom>], [<right>] ;
[COLUMNS <columns>] [TITLE <title>] [FOOTERS <footers>] ;
[TOPBLOCK <topblock>] [BOTTOMBLOCK <bottomblock>] ;
[SCOPEBLOCK <scopeblock>] [EDIT <edit>] ;
[ACTIONKEYS <actionkeys>] [COLOR <color>] [SHADOW <shadow>] ;
[FRAME <frame>] [FRAMECOLOR <framecolor>] ;
[SCROLLBAR <scrollbar>] [MESSAGES <messages>] ;
[AUTOLITE <autolite>] [FREEZE <freeze>] ;
[STABILIZE <stabilize>]
BROWSEDBF TO <mvar> AT [<top>], [<left>], [<bottom>], [<right>] ;
[COLUMNS <columns>] [TITLE <title>] [FOOTERS <footers>] ;
[TOPBLOCK <topblock>] [BOTTOMBLOCK <bottomblock>] ;
[SCOPEBLOCK <scopeblock>] [EDIT <edit>] ;
[ACTIONKEYS <actionkeys>] [COLOR <color>] [SHADOW <shadow>] ;
[FRAME <frame>] [FRAMECOLOR <framecolor>] ;
[SCROLLBAR <scrollbar>] ;
[MESSAGES <messages>] [AUTOLTE <autolte>] [FREEZE <freeze>] ;
[STABILIZE <stabilize>]
CALCINIT AT <top>, <left> [COLOR <color>] [SHADOW <shadow>] ;
[FRAME <frame>] [PASTE <paste>]
CALCINIT
CALCULATOR TO <nkey>
RESET CALCULATOR
MAKEWSHAD( <r1>, <c1>, <r2>, <c2> )
@ <row>, <col> PROMPT <prompt> [MESSAGE <msg>] [COLOR <color>]
[WHEN <when>] [ACTION <action>]
MENU TO <v>
*** Macros ***
WINTOP - Top line of the active window
WINLEFT - Left column of the active window.
WINBOTTOM - Bottom row of the active window.
WINRIGHT - Right column of the active window.
WINLENGTH - Length of the active window.
WINWIDTH - Width of the active window.
*** Macros ***
WINHANDLE - Handle of the active window.
WINSHADOW - Current shadow type.
WINTHICK - Thick or thin shadows.
WINTITLE - Reference to the current title array.
WINCOLOR - Current window color
WINFCOLOR - Current fram colour, may be type 'C' or 'A'.
WINFRAME - Current frame type.
GETSTACK - Reference to the window stack array.
Page 11 TSDWIN.LIB Version 1.50
Clipper 5.01 Window Library Quick Reference List
-----------------------------------------------------------------------------
|
Window and Box Borders | Shadow Types
|
"┌─┐│┘─└│" 1 - single line box | Based on Numeric KeyPad
"╔═╗║╝═╚║" 2 - double line box |
"╓─╖║╜─╙║" 3 - t-single double | 1 - Lower Left
"╒═╕│╛═╘│" 4 - t-double single |
"╓─┐│╛═╚║" 5 - 1-double single | 3 - Lower Right
"┌─╖║╝═╘│" 6 - 3-double single |
"╔═╕│┘─╙║" 7 - 7-double single | 7 - Upper Left
"╒═╗║╜─└│" 8 - 9-double single |
"████████" 9 - thick solid | 9 - Upper Right
"█▀███▄██" 10 - thin solid |
"░░░░░░░░" 11 - shaded light | Any other parameter gives
"▒▒▒▒▒▒▒▒" 12 - shaded medium |
"▓▓▓▓▓▓▓▓" 13 - shaded heavy | No Shadow
" " 14 - spaces |
---------------------------------------------------------------------------
Horizontal Lines | Vertical Lines
|
"-" 1 - dotted single | "│" 1 - single
"=" 2 - dotted double | "║" 2 - double
"≡" 3 - dotted triple | ":" 3 - dotted
"─" 4 - single | "|" 4 - dashed
"═" 5 - double | "■" 5 - heavy dotted
"■" 6 - dotted thick | "▌" 6 - left thin
"▀" 7 - top solid thin | "▐" 7 - right thin
"▄" 8 - bottom solid thin | "█" 8 - thick
"█" 9 - solid thick | "░" 9 - light shaded
"~" 10 - single wavy | "▒" 10 - medium shaded
"≈" 11 - double wavy | "▓" 11 - heavy shaded
| " " 12 - spaces
---------------------------------------------------------------------------
*** Special Key Codes ***
Key #defines Decimal Hex
Right Shift RSHIFT 1 0x0001
Left Shift LSHIFT 2 0x0002
Control CTRL 4 0x0004
Alternate ALT 8 0x0008
Scroll Status SCROLLSTAT 16 0x0010
Number Lock Status NUMLOCKSTAT 32 0x0020
Caps Lock Status CAPLOCKSTAT 64 0x0040
Insert Status INSERTSTAT 128 0x0080
Ctrl Number Lock Status CTRLNUMLKSTAT 2048 0x0800
Scroll Lock SCROLLOCK 4096 0x1000
Number Lock NUMLOCK 8192 0x2000
Caps Lock CAPLOCK 16384 0x4000
Insert INSERT 32768 0x8000
---------------------------------------------------------------------------
Copyright ( C ) 1991 Trilateral Systems Development Ltd.
All Rights Reserved * Version 1.50 * Release Date: 01-25-92
18 Bond St. South, Dundas, ON, Canada, L9H 3H1, 416-628-5086